import request from '@/utils/request'

// 列表
export const getList = (params) => {
  return request({
    url: '/platform/specialistDetails/list',
    method: 'get',
    params
  })
}
// 新增
export const add = (data) => {
  return request({
    url: '/platform/specialistDetails/addSpecialistDetails',
    method: 'post',
    data
  })
}
// 编辑
export const edit = (data) => {
  return request({
    url: '/platform/specialistDetails/edit',
    method: 'put',
    data
  })
}
// 详细信息
export function getInfo(params) {
  return request({
    method: 'get',
    url: `/platform/specialistDetails/details`,
    params,
  })
}
// 删除
export function remove(id) {
  return request({
    method: 'delete',
    url: `/platform/specialistDetails/${id}`,
  })
}
// 导入
export function breedTemplateUplaod(data) {
  return request({
    method: 'post',
    url: `/platform/specialistDetails/importSpecialistDetails`,
    data
  })
}